package org.akomantoso.core.data.type;

/**
 * The simple type ScopeMods lists all the types of modifications in scope as values for the type attribute of the
 * scopeMod element.
 * 
 * <pre>
 *  <xsd:simpleType name="ScopeMods">
 * 		<xsd:restriction base="xsd:string">
 * 			<xsd:enumeration value="exceptionOfScope"/>
 * 			<xsd:enumeration value="extensionOfScope"/>
 * 		</xsd:restriction>
 *	</xsd:simpleType>
 * </pre>
 * 
 */
public enum ScopeMods {

	exceptionOfScope, extensionOfScope;

	public static ScopeMods checkValueOf(String name) {
		if (name == null) {
			return null;
		}
		return valueOf(name);
	}

}